package com.chidopi.cdf.service;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IBaseService<T> {
	public int insert(T t) throws Exception;
	public int update(T t) throws Exception;
	public int delete(T t) throws Exception;
	public List<T> find(String sqlWhere, Object...args)  throws Exception;
	public T findById(Object id) throws Exception;
	public int getNextSequence() throws Exception;
}
